package com.xxh.book.dao;

import com.xxh.book.entity.Admin;
import org.apache.ibatis.annotations.Param;

public interface AdminDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    Admin selectByEntity(Admin admin);


    Admin selectByEntity2(@Param("user")String username, @Param("pwd")String password);
}